package cn.wolfcode.luowowo.article.domain;

import cn.wolfcode.luowowo.member.domain.UserInfo;
import cn.wolfcoe.luowowo.common.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;


/**
 * 回复问题
 */
@Getter
@Setter
public class Answer extends BaseDomain{
    private UserInfo userInfo;   //用户

    private Questions question;    //关联回答的问题

    private String content;    //回答的内容

    private Date relesaTime;   //发布时间

    private Integer favornum;   //回复的点赞

    private List<AnswerComment> comments;  //每个回答下面的评论集合


}